package demo.bocweb.login_module.contract;

import demo.bocweb.com.sdk.base.BasePresenter;
import demo.bocweb.com.sdk.base.IBaseModel;
import demo.bocweb.com.sdk.base.IBaseView;
import demo.bocweb.com.sdk.base.bean.BaseBean;
import io.reactivex.Observable;
import okhttp3.RequestBody;

/**
 * Created by zhelun on 2018/2/3.
 */

public interface ResetPwdContract {
    abstract class IResetPwdPresenter extends BasePresenter<IResetPwdModel, IResetPwdView> {
        public abstract void resetPwd(RequestBody body);

    }

    interface IResetPwdModel extends IBaseModel {
        Observable<BaseBean> resetPwd(RequestBody body);
    }

    interface IResetPwdView extends IBaseView {
        void resetPwdSuccess();

        void resetPwd();
    }

}
